#include "MWTexture.h"
#include "MWResourceManager.h"

namespace Myway
{
    Texture::Texture()
        : mName("")
        , mHeight(0)
        , mWidth(0)
        , mMipLevels(0)
        , mUsage(USAGE_STATIC)
        , mFormat(PF_UNKNOWN)
    {
    }

    Texture::~Texture()
    {
    }

	const TString128 & Texture::GetName() const
	{ 
		return mName;
	}

	const TString128 & Texture::GetSourceName() const
	{
		return mSourceName;
	}

	int Texture::GetWidth() const
	{ 
		return mWidth;
	}

	int Texture::GetHeight() const
	{
		return mHeight;
	}

	int Texture::GetMipLevels() const
	{ 
		return mMipLevels;
	}

	USAGE Texture::GetUsage() const
	{ 
		return mUsage;
	}

	PIXEL_FORMAT Texture::GetFormat() const
	{
		return mFormat;
	}
}